package com.wnxy.sddfp.client.system;

import com.wnxy.sddfp.common.model.vo.user.UserInfoVo;
import com.wnxy.sddfp.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("sddfp-system-service")
public interface UserApi {
    @PostMapping("/user/inner/{id}")
    Result<UserInfoVo> queryUserById(@PathVariable("id") Long id);
}
